package v1

import (
	"github.com/gin-gonic/gin"
	//"github.com/jinzhu/gorm"
	"ginswagger/global/Response"
)

/*
注册
*/
func Register(c *gin.Context) {
	//创建request model
	//var R = request.
	//u := model.SysUser{
	//	Model:       gorm.Model{},
	//	UUID:        uuid.UUID{},
	//	Username:    "zj",
	//	Password:    "12345",
	//	NickName:    "ligin",
	//	HeaderImg:   "",
	//	Authority:   model.SysAuthority{},
	//	AuthorityId: "",
	//}
	//fmt.Println("-----00------")
	//service.Register(u)
	Response.Result(Response.SUCCESS, "ligin", "获取成功", c)
	//response := Response.Response{1, res.CommonRes{"admin", 10, "消息"}, "成功"}
}
